package com.cy.pj.goods.dao;

import com.cy.pj.goods.pojo.Goods;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class GoodsDaolmpl implements  GoodsDao{
    @Autowired
    private SqlSession sqlSession;
    @Override
    public List<Goods> findGoods() {
        System.out.println("==findgoods==");
        String statement="com.cy.pj.goods.pojo.Goods.findgoods";
        sqlSession.selectList(statement);
        return null;
    }

    @Override
    public int deleteById(Integer id) {
        return 0;
    }
}
